//
//  BaseAlertView.h
//  GK
//
//  Created by Seven on 2019/4/16.
//  Copyright © 2019 Seven. All rights reserved.
//

#import "BaseView.h"

NS_ASSUME_NONNULL_BEGIN

@interface BaseAlertView : BaseView

IT_PROPERTY_STRONG UIView *contentView;
IT_PROPERTY_STRONG UIButton *closeBtn;
IT_PROPERTY_STRONG UIButton *doneBtn;

IT_PROPERTY_STRONG BaseLabel *titleLbl;
IT_PROPERTY_STRONG BaseLabel *tipLbl;

IT_PROPERTY_ASSIGN CGFloat scale;

IT_PROPERTY_STRONG id info;

+ (instancetype)showWithInfo:(id)info customAction:(CustomAction)action;

- (void)updateWithInfo:(id)info;
- (void)onDoneClick;
- (void)onCancelClick;
- (void)show;
- (void)hide;

- (void)setTitleFont:(UIFont *)font;
- (void)setTipFont:(UIFont *)font;

- (void)setTitleColor:(UIColor *)color;
- (void)setTipColor:(UIColor *)color;

- (void)setDontBtnName:(NSString *)name;


@end

NS_ASSUME_NONNULL_END
